"""
Thin wrapper around psycopg2.

Defines a 'DB' class that supports the following methods:

   1. query()
       run a single SQL query that returns a result;
       e.g., 'SELECT'

   2. sqlscript() - run a batch of SQL queries
"""
